<?
/**
 * Users Applet
 */
(basename($_SERVER['PHP_SELF']) == basename(__FILE__)) && die('Access Denied');

requireAccess('Admin');

// Has user requested a specific action?
switch($_APP->html->getAction()) {
	case ACTION_DISABLE:
		die(actionDisable());
	break;
	case ACTION_ENABLE:
		die(actionEnable());
	break;
	case ACTION_PASS_RESET:
		die(actionPassReset());
	break;
	case ACTION_TOGGLE:
		die(actionToggleProperty());
	break;
	case ACTION_ADD:
		die(getPageAdd());
	break;
	case ACTION_DEL:
		die(getPageDelete());
	break;
	case ACTION_EDIT:
		die(getPageEdit());
	break;
	case ACTION_LIST:
		die(getPageList());
	break;
	case ACTION_VIEW:
		die(getPageView());
	break;
	}

// Fall through to menu
die(getPageList());
?>
